package cn.com.git.example.module.dao.mapper;

import cn.com.git.example.module.dao.model.SysUser;
import cn.com.git.example.module.service.query.SysUserListQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

    List<SysUser> selectListByQuery(@Param("query") SysUserListQuery query);
}